[INFO] fetching crate tokio-file-futures 0.1.0...
[INFO] checking tokio-file-futures-0.1.0 against try#ebbfb508237d160e7a5e663a930916c87c4a8a45 for pr-106493
[INFO] extracting crate tokio-file-futures 0.1.0 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate tokio-file-futures 0.1.0 on toolchain ebbfb508237d160e7a5e663a930916c87c4a8a45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate tokio-file-futures 0.1.0
[INFO] finished tweaking crates.io crate tokio-file-futures 0.1.0
[INFO] tweaked toml for crates.io crate tokio-file-futures 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6c6ee7b78262a6a11b2dce23dd03e346398bb98d86319c51fd19e97a54ce875d
[INFO] running `Command { std: "docker" "start" "-a" "6c6ee7b78262a6a11b2dce23dd03e346398bb98d86319c51fd19e97a54ce875d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c6ee7b78262a6a11b2dce23dd03e346398bb98d86319c51fd19e97a54ce875d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c6ee7b78262a6a11b2dce23dd03e346398bb98d86319c51fd19e97a54ce875d", kill_on_drop: false }`
[INFO] [stdout] 6c6ee7b78262a6a11b2dce23dd03e346398bb98d86319c51fd19e97a54ce875d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0fe05be4f6e32fa3364e92ed770bad5fe2ef0ca09a3ff72d3c1270392fe1e3f3
[INFO] running `Command { std: "docker" "start" "-a" "0fe05be4f6e32fa3364e92ed770bad5fe2ef0ca09a3ff72d3c1270392fe1e3f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]     Checking net2 v0.2.38
[INFO] [stderr]     Checking smallvec v0.6.14
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking parking_lot v0.9.0
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking crossbeam-deque v0.7.4
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking tokio-threadpool v0.1.18
[INFO] [stderr]     Checking tokio-timer v0.2.13
[INFO] [stderr]     Checking tokio-current-thread v0.1.7
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking tokio-fs v0.1.7
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio-uds v0.2.7
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking tokio-file-futures v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stdout] error[E0271]: type mismatch resolving `<futures::AndThen<tokio_fs::file::MetadataFuture, SetPermissions<tokio_fs::File>, [closure@examples/example.rs:32:58: 32:76]> as futures::IntoFuture>::Error == (tokio_fs::File, std::io::Error)`
[INFO] [stdout]    --> examples/example.rs:31:46
[INFO] [stdout]     |
[INFO] [stdout] 31  | ...                   file.try_clone().and_then(|(file, _file2)| {
[INFO] [stdout]     |                                        ^^^^^^^^ expected tuple, found struct `Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(tokio_fs::File, std::io::Error)`
[INFO] [stdout]               found struct `std::io::Error`
[INFO] [stdout] note: required by a bound in `futures::Future::and_then`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/mod.rs:528:29
[INFO] [stdout]     |
[INFO] [stdout] 528 |               B: IntoFuture<Error = Self::Error>,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0271]: type mismatch resolving `<futures::AndThen<tokio_fs::file::MetadataFuture, SetPermissions<tokio_fs::File>, [closure@examples/example.rs:32:58: 32:76]> as futures::IntoFuture>::Error == (tokio_fs::File, std::io::Error)`
[INFO] [stdout]    --> examples/example.rs:30:42
[INFO] [stdout]     |
[INFO] [stdout] 30  |                         file.sync_data().and_then(|file| {
[INFO] [stdout]     |                                          ^^^^^^^^ expected tuple, found struct `Error`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected tuple `(tokio_fs::File, std::io::Error)`
[INFO] [stdout]               found struct `std::io::Error`
[INFO] [stdout]     = note: required for `AndThen<CloneFuture, AndThen<MetadataFuture, SetPermissions<File>, [closure@example.rs:32:58]>, ...>` to implement `futures::Future`
[INFO] [stdout]     = note: the full type name has been written to '/opt/rustwide/target/debug/examples/example-dda95f40d304a827.long-type-15125080025618110243.txt'
[INFO] [stdout] note: required by a bound in `futures::Future::and_then`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/mod.rs:528:29
[INFO] [stdout]     |
[INFO] [stdout] 528 |               B: IntoFuture<Error = Self::Error>,
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^ required by this bound in `Future::and_then`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `map_err` exists for struct `AndThen<SetLen<File>, AndThen<SyncAll<File>, AndThen<SyncData<File>, AndThen<CloneFuture, AndThen<MetadataFuture, SetPermissions<File>, [closure@example.rs:32:58]>, [closure@example.rs:31:55]>, [closure@example.rs:30:51]>, [closure@example.rs:29:46]>, [closure@example.rs:28:27]>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> examples/example.rs:42:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |                 .map_err(|e| println!("Error3: {}", e));
[INFO] [stdout]    |                  ^^^^^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.31/src/future/and_then.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AndThen<A, B, F> where A: Future, B: IntoFuture {
[INFO] [stdout]    | ---------------------------
[INFO] [stdout]    | |
[INFO] [stdout]    | doesn't satisfy `<_ as IntoFuture>::Error = Error`
[INFO] [stdout]    | doesn't satisfy `_: Future`
[INFO] [stdout]    | doesn't satisfy `_: IntoFuture`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `<futures::AndThen<SyncAll<tokio_fs::File>, futures::AndThen<SyncData<tokio_fs::File>, futures::AndThen<CloneFuture, futures::AndThen<tokio_fs::file::MetadataFuture, SetPermissions<tokio_fs::File>, [closure@examples/example.rs:32:58: 32:76]>, [closure@examples/example.rs:31:55: 31:71]>, [closure@examples/example.rs:30:51: 30:57]>, [closure@examples/example.rs:29:46: 29:52]> as futures::IntoFuture>::Error = std::io::Error`
[INFO] [stdout]            which is required by `futures::AndThen<SetLen<tokio_fs::File>, futures::AndThen<SyncAll<tokio_fs::File>, futures::AndThen<SyncData<tokio_fs::File>, futures::AndThen<CloneFuture, futures::AndThen<tokio_fs::file::MetadataFuture, SetPermissions<tokio_fs::File>, [closure@examples/example.rs:32:58: 32:76]>, [closure@examples/example.rs:31:55: 31:71]>, [closure@examples/example.rs:30:51: 30:57]>, [closure@examples/example.rs:29:46: 29:52]>, [closure@examples/example.rs:28:27: 28:33]>: futures::Future`
[INFO] [stdout]            `futures::AndThen<SyncAll<tokio_fs::File>, futures::AndThen<SyncData<tokio_fs::File>, futures::AndThen<CloneFuture, futures::AndThen<tokio_fs::file::MetadataFuture, SetPermissions<tokio_fs::File>, [closure@examples/example.rs:32:58: 32:76]>, [closure@examples/example.rs:31:55: 31:71]>, [closure@examples/example.rs:30:51: 30:57]>, [closure@examples/example.rs:29:46: 29:52]>: futures::IntoFuture`
[INFO] [stdout]            which is required by `futures::AndThen<SetLen<tokio_fs::File>, futures::AndThen<SyncAll<tokio_fs::File>, futures::AndThen<SyncData<tokio_fs::File>, futures::AndThen<CloneFuture, futures::AndThen<tokio_fs::file::MetadataFuture, SetPermissions<tokio_fs::File>, [closure@examples/example.rs:32:58: 32:76]>, [closure@examples/example.rs:31:55: 31:71]>, [closure@examples/example.rs:30:51: 30:57]>, [closure@examples/example.rs:29:46: 29:52]>, [closure@examples/example.rs:28:27: 28:33]>: futures::Future`
[INFO] [stdout]            `futures::AndThen<SetLen<tokio_fs::File>, futures::AndThen<SyncAll<tokio_fs::File>, futures::AndThen<SyncData<tokio_fs::File>, futures::AndThen<CloneFuture, futures::AndThen<tokio_fs::file::MetadataFuture, SetPermissions<tokio_fs::File>, [closure@examples/example.rs:32:58: 32:76]>, [closure@examples/example.rs:31:55: 31:71]>, [closure@examples/example.rs:30:51: 30:57]>, [closure@examples/example.rs:29:46: 29:52]>, [closure@examples/example.rs:28:27: 28:33]>: futures::Future`
[INFO] [stdout]            which is required by `&mut futures::AndThen<SetLen<tokio_fs::File>, futures::AndThen<SyncAll<tokio_fs::File>, futures::AndThen<SyncData<tokio_fs::File>, futures::AndThen<CloneFuture, futures::AndThen<tokio_fs::file::MetadataFuture, SetPermissions<tokio_fs::File>, [closure@examples/example.rs:32:58: 32:76]>, [closure@examples/example.rs:31:55: 31:71]>, [closure@examples/example.rs:30:51: 30:57]>, [closure@examples/example.rs:29:46: 29:52]>, [closure@examples/example.rs:28:27: 28:33]>: futures::Future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0271, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0271`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tokio-file-futures` due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "0fe05be4f6e32fa3364e92ed770bad5fe2ef0ca09a3ff72d3c1270392fe1e3f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fe05be4f6e32fa3364e92ed770bad5fe2ef0ca09a3ff72d3c1270392fe1e3f3", kill_on_drop: false }`
[INFO] [stdout] 0fe05be4f6e32fa3364e92ed770bad5fe2ef0ca09a3ff72d3c1270392fe1e3f3
